package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("t_order")
public class OrderBean implements Serializable {
    /** 订单编号 */
    @TableId(value = "pk_orderId",type = IdType.AUTO)
    private Integer orderId;
    /** 订单用户 */
    @TableField("u_userName")
    private String userName;
    /** 电影名称 */
    @TableField("t_movieName")
    private String movieName;
    /** 场次 */
    @TableField("t_seriesNum")
    private String seriesNum;
    /** 电影院名称 */
    @TableField("t_cinema")
    private String cinema;
    /** 排号 */
    @TableField("t_row")
    private String row;
    /** 座位号 */
    @TableField("t_seat")
    private Integer seat;

    public OrderBean() {
    }

    public OrderBean(String userName, String movieName, String seriesNum, String cinema, String row, Integer seat) {
        this.userName = userName;
        this.movieName = movieName;
        this.seriesNum = seriesNum;
        this.cinema = cinema;
        this.row = row;
        this.seat = seat;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public String getSeriesNum() {
        return seriesNum;
    }

    public void setSeriesNum(String seriesNum) {
        this.seriesNum = seriesNum;
    }

    public String getCinema() {
        return cinema;
    }

    public void setCinema(String cinema) {
        this.cinema = cinema;
    }

    public String getRow() {
        return row;
    }

    public void setRow(String row) {
        this.row = row;
    }

    public Integer getSeat() {
        return seat;
    }

    public void setSeat(Integer seat) {
        this.seat = seat;
    }

    @Override
    public String toString() {
        return "OrderBean{" +
                "orderId=" + orderId +
                ", userName='" + userName + '\'' +
                ", movieName='" + movieName + '\'' +
                ", seriesNum='" + seriesNum + '\'' +
                ", cinema='" + cinema + '\'' +
                ", row=" + row +
                ", seat=" + seat +
                '}';
    }
}
